package com.ruoyi.material.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物料信息对象 material_info
 * 
 * @author ruoyi
 * @date 2022-08-25
 */
public class MaterialInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 收料单编号 */
    @Excel(name = "收料单编号")
    private String receiptMaterialNo;

    /** 关联项目 */
    @Excel(name = "关联项目")
    private String projectNo;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String materialNo;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String materialName;

    /** 物料类别 */
    @Excel(name = "物料类别")
    private String materialType;

    /** 规格 */
    @Excel(name = "规格")
    private String specifications;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 数量 */
    @Excel(name = "数量")
    private Long count;

    /** 数量 */
    @Excel(name = "数量")
    private Long outCount;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    /** 数量 */
    private Long remainderCount;

    public Long getRemainderCount() {
        return remainderCount;
    }

    public void setRemainderCount(Long remainderCount) {
        this.remainderCount = remainderCount;
    }

    public Long getOutCount() {
        return outCount;
    }

    public void setOutCount(Long outCount) {
        this.outCount = outCount;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setReceiptMaterialNo(String receiptMaterialNo) 
    {
        this.receiptMaterialNo = receiptMaterialNo;
    }

    public String getReceiptMaterialNo() 
    {
        return receiptMaterialNo;
    }
    public void setProjectNo(String projectNo) 
    {
        this.projectNo = projectNo;
    }

    public String getProjectNo() 
    {
        return projectNo;
    }
    public void setMaterialNo(String materialNo) 
    {
        this.materialNo = materialNo;
    }

    public String getMaterialNo() 
    {
        return materialNo;
    }
    public void setMaterialName(String materialName) 
    {
        this.materialName = materialName;
    }

    public String getMaterialName() 
    {
        return materialName;
    }
    public void setMaterialType(String materialType) 
    {
        this.materialType = materialType;
    }

    public String getMaterialType() 
    {
        return materialType;
    }
    public void setSpecifications(String specifications) 
    {
        this.specifications = specifications;
    }

    public String getSpecifications() 
    {
        return specifications;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("receiptMaterialNo", getReceiptMaterialNo())
            .append("projectNo", getProjectNo())
            .append("materialNo", getMaterialNo())
            .append("materialName", getMaterialName())
            .append("materialType", getMaterialType())
            .append("specifications", getSpecifications())
            .append("unit", getUnit())
            .append("count", getCount())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("comment", getComment())
            .toString();
    }
}
